#!/usr/bin/env python3

import os, sys
from argparse import ArgumentParser

sys.path.append('./python')   # add path

IP='192.168.0.104'
PORT='9527'

from mephisto_mosaic_camera import *



if __name__ == '__main__':
    parser = ArgumentParser()
    parser.add_argument('--ip', '-i', type=str, default=IP, help='local IP')
    parser.add_argument('--port', '-p', type=str, default=PORT, help='socket port')
    args = parser.parse_args()

    myApp = mephisto_mosaic_camera(IP=args.ip, SOCK_PORT=args.port)
    myApp.run()
